Remove deprecated notebook api
authorMatthias Clasen <mclasen@redhat.com>
Sat, 26 Jun 2010 20:29:43 +0000 (16:29 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 26 Jun 2010 20:29:43 +0000 (16:29 -0400)
docs/reference/gtk/gtk3-sections.txt
gtk/gtk.symbols
gtk/gtknotebook.c
gtk/gtknotebook.h

index 21dc9d1d883508d1471c9d58329dfc2ce5cc1318..66d4c8c62f02691a27d28fc346c36c89869e7711 100644 (file)
@@ -2220,11 +2220,9 @@ gtk_notebook_get_menu_label
 gtk_notebook_get_nth_page
 gtk_notebook_get_n_pages
 gtk_notebook_get_tab_label
-gtk_notebook_query_tab_label_packing
 gtk_notebook_set_menu_label
 gtk_notebook_set_menu_label_text
 gtk_notebook_set_tab_label
-gtk_notebook_set_tab_label_packing
 gtk_notebook_set_tab_label_text
 gtk_notebook_set_tab_reorderable
 gtk_notebook_set_tab_detachable
index e21646846eae611e5ae2b793670b3fa3c712eaf7..16497e797ab51f77708d982ac6ab859be13bea02 100644 (file)
@@ -2161,9 +2161,6 @@ gtk_notebook_popup_enable
 gtk_notebook_prepend_page
 gtk_notebook_prepend_page_menu
 gtk_notebook_prev_page
-#ifndef GTK_DISABLE_DEPRECATED
-gtk_notebook_query_tab_label_packing
-#endif
 gtk_notebook_remove_page
 gtk_notebook_reorder_child
 gtk_notebook_set_current_page
@@ -2173,9 +2170,6 @@ gtk_notebook_set_scrollable
 gtk_notebook_set_show_border
 gtk_notebook_set_show_tabs
 gtk_notebook_set_tab_label
-#ifndef GTK_DISABLE_DEPRECATED
-gtk_notebook_set_tab_label_packing
-#endif
 gtk_notebook_set_tab_label_text
 gtk_notebook_set_tab_pos
 gtk_notebook_set_window_creation_hook
index bb528fdf070cc68952746a5e4de1b37d72ca0472..3b5e1b8d134a01827519a388974871931aa177f4 100644 (file)
@@ -228,6 +228,16 @@ static gboolean gtk_notebook_reorder_tab         (GtkNotebook      *notebook,
                                                  gboolean          move_to_last);
 static void     gtk_notebook_remove_tab_label    (GtkNotebook      *notebook,
                                                  GtkNotebookPage  *page);
+static void     gtk_notebook_set_tab_label_packing   (GtkNotebook  *notebook,
+                                                      GtkWidget    *child,
+                                                      gboolean      expand,
+                                                      gboolean      fill,
+                                                      GtkPackType   pack_type);
+static void     gtk_notebook_query_tab_label_packing (GtkNotebook  *notebook,
+                                                      GtkWidget    *child,
+                                                      gboolean     *expand,
+                                                      gboolean     *fill,
+                                                      GtkPackType  *pack_type);
 
 /*** GtkObject Methods ***/
 static void gtk_notebook_destroy             (GtkObject        *object);
@@ -7280,29 +7290,12 @@ gtk_notebook_child_reordered (GtkNotebook     *notebook,
   gtk_notebook_update_labels (notebook);
 }
 
-/**
- * gtk_notebook_set_tab_label_packing:
- * @notebook: a #GtkNotebook
- * @child: the child widget
- * @expand: whether to expand the tab label or not
- * @fill: whether the tab label should fill the allocated area or not
- * @pack_type: the position of the tab label
- *
- * Sets the packing parameters for the tab label of the page
- * containing @child. See gtk_box_pack_start() for the exact meaning
- * of the parameters.
- *
- * Deprecated: 2.20: Modify the #GtkNotebook:tab-expand and
- *   #GtkNotebook:tab-fill child properties instead.
- *   Modifying the packing of the tab label is a deprecated feature and
- *   shouldn't be done anymore.
- **/
-void
+static void
 gtk_notebook_set_tab_label_packing (GtkNotebook *notebook,
-                                   GtkWidget   *child,
-                                   gboolean     expand,
-                                   gboolean     fill,
-                                   GtkPackType  pack_type)
+                                    GtkWidget   *child,
+                                    gboolean     expand,
+                                    gboolean     fill,
+                                    GtkPackType  pack_type)
 {
   GtkNotebookPage *page;
   GList *list;
@@ -7337,26 +7330,12 @@ gtk_notebook_set_tab_label_packing (GtkNotebook *notebook,
   gtk_widget_thaw_child_notify (child);
 }  
 
-/**
- * gtk_notebook_query_tab_label_packing:
- * @notebook: a #GtkNotebook
- * @child: the page
- * @expand: location to store the expand value (or NULL)
- * @fill: location to store the fill value (or NULL)
- * @pack_type: location to store the pack_type (or NULL)
- * 
- * Query the packing attributes for the tab label of the page
- * containing @child.
- *
- * Deprecated: 2.20: Modify the #GtkNotebook:tab-expand and
- *   #GtkNotebook:tab-fill child properties instead.
- **/
-void
+static void
 gtk_notebook_query_tab_label_packing (GtkNotebook *notebook,
-                                     GtkWidget   *child,
-                                     gboolean    *expand,
-                                     gboolean    *fill,
-                                     GtkPackType *pack_type)
+                                      GtkWidget   *child,
+                                      gboolean    *expand,
+                                      gboolean    *fill,
+                                      GtkPackType *pack_type)
 {
   GList *list;
 
index e58bc5d2d270bb1d349be8280d5573c8180bec31..97128b8467db1317d1327aadcefb2f00f95cc260 100644 (file)
@@ -242,18 +242,6 @@ void gtk_notebook_set_menu_label_text     (GtkNotebook *notebook,
                                           const gchar *menu_text);
 G_CONST_RETURN gchar *gtk_notebook_get_menu_label_text (GtkNotebook *notebook,
                                                        GtkWidget   *child);
-#ifndef GTK_DISABLE_DEPRECATED
-void gtk_notebook_query_tab_label_packing (GtkNotebook *notebook,
-                                          GtkWidget   *child,
-                                          gboolean    *expand,
-                                          gboolean    *fill,
-                                          GtkPackType *pack_type);
-void gtk_notebook_set_tab_label_packing   (GtkNotebook *notebook,
-                                          GtkWidget   *child,
-                                          gboolean     expand,
-                                          gboolean     fill,
-                                          GtkPackType  pack_type);
-#endif
 void gtk_notebook_reorder_child           (GtkNotebook *notebook,
                                           GtkWidget   *child,
                                           gint         position);